From 5bc5439d1c165e8120db4ca46a03c776e34bdb2b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 26 Aug 2014 17:21:45 -0700 Subject: [PATCH] Fix a flaky test while the compiler is changing --- tests/test_cargo_compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cargo_compile.rs b/tests/test_cargo_compile.rs index e3f7f79ee..0eb6b6975 100644 --- a/tests/test_cargo_compile.rs +++ b/tests/test_cargo_compile.rs @@ -100,7 +100,7 @@ test!(cargo_compile_with_invalid_code { execs() .with_status(101) .with_stderr(format!("\ -{filename}:1:1: 1:8 error: expected item, found `invalid` +{filename}:1:1: 1:8 error: expected item[..]found `invalid` {filename}:1 invalid rust code! ^~~~~~~ Could not compile `foo`. -- 2.30.2